﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace AvaProvi
{
    public partial class ctlConsideracionesPrevias : AvaProvi.ControlBase
    {
        public ctlConsideracionesPrevias()
            : base()
        {
            InitializeComponent();
            ActualizaPanel();
        }

        public override void ActualizaDatos()
        {
            clsAvaluo_CRN.AvaluoActual.Guardar();
            ActualizaPanel();
        }

        public override void ActualizaPanel()
        {
            this.bs_Avaluo.DataSource = clsAvaluo_CRN.AvaluoActual;
            this.bs_Avaluo.ResetBindings(false);
        } 
    }
}
